var express = require('express');
var router = new express.Router();
var Mock =  require('mockjs')


router.get('/list',function (req,res) {
  var employees = Mock.mock({
    'list|10':[{
      name:'@name',
      age: '@natural(20,70)',
      'gender|1':['male','female']
    }]
  })
  res.send(employees.list);
})

module .exports = router;
